<!--{if $pdid == 1 }-->
    <div id="header">
        <h1>登陆提示</h1>
        <a href="{$url_a}" id="back">返回</a>
    </div>
    <div id="container">
        <div class="content">
        	你好，你没有登陆！<br/>
          <a href="{if !$htmlsz}index.php?{$Bingz_ml}=user&amp;{$Bingz_md}=login{else}user-login.html{/if}">进入登陆</a>
          <meta http-equiv=refresh content="3;url={if !$htmlsz}index.php?{$Bingz_ml}=user&amp;{$Bingz_md}=login{else}user-login.html{/if}">
        </div>
    </div>
<!--{elseif $pdid == 'sms' }-->
    <div id="header">
    	  <a href="{if !$htmlsz}index.php?{$Bingz_ml}=user{else}user.html{/if}" id="Top1_loginMenu"><img src="{$user_tx}" /></a> 
        <h1>发送短信</h1>
        <a href="{if !$htmlsz}index.php?{$Bingz_ml}=user&amp;{else}user.html{/if}" id="back">返回</a>
    </div>
    <div id="container">
    	 <form method="POST" action="{if !$htmlsz}index.php?{$Bingz_ml}=user&amp;{$Bingz_md}=sms&amp;act=smsok&amp;uid={$uid}{else}user-sms-ok-{$uid}.html{/if}">
            <input class="text" type="text" name="sms"  placeholder="输入手机号码" />
            <textarea class="textarea" type="text" name="name" placeholder="输入短信内容" ></textarea><br/>
            <input class="submit" type="submit" name="text" value="发送信息" />
       </form>
<!--{elseif $pdid == 'smsok' }-->
    <div id="header">
        <h1>提交成功</h1>
        <a href="{$url_a}" id="back">返回</a>
    </div>
    <div id="container">
        <div class="package">
        <div class="content">
        	{$mmts}<br/>
          <a href="{if !$htmlsz}index.php?{$Bingz_ml}=user&amp;{$Bingz_md}=sms&amp;act=sms{else}user-sms-lt-{$uid}.html{/if}">返回</a>
          <meta http-equiv=refresh content="3;url={if !$htmlsz}index.php?{$Bingz_ml}=user&amp;{$Bingz_md}=sms&amp;act=sms{else}user-sms-lt-{$uid}.html{/if}">
        </div>
    </div>
    </div>
<!--{elseif $pdid == 'ok' }-->
    <div id="header">
        <h1>提交成功</h1>
        <a href="{$url_a}" id="back">返回</a>
    </div>
    <div id="container">
        <div class="package">
        <div class="content">
        	{$mmts}<br/>
          <a href="{if !$htmlsz}index.php?{$Bingz_ml}=user&amp;{$Bingz_md}=sms&amp;act=lt&amp;uid={$uid}{else}user-sms-lt-{$uid}.html{/if}">返回</a>
          <meta http-equiv=refresh content="3;url={if !$htmlsz}index.php?{$Bingz_ml}=user&amp;{$Bingz_md}=sms&amp;act=lt&amp;uid={$uid}{else}user-sms-lt-{$uid}.html{/if}">
        </div>
    </div>
    </div>
<!--{elseif $pdid == 'lt' }-->
    <div id="header">
    	  <a href="{if !$htmlsz}index.php?{$Bingz_ml}=user{else}user.html{/if}" id="Top1_loginMenu"><img src="{$user_tx}" /></a> 
        <h1> (<a href="{if !$htmlsz}index.php?{$Bingz_ml}=user&amp;uid={$uid}{else}user-{$uid}.html{/if}"> <font color="#FF0000">{$hyname}</font> </a>) 聊天</h1>
        <a href="{if !$htmlsz}index.php?{$Bingz_ml}=user&amp;{$Bingz_md}=sms{else}user-sms.html{/if}" id="back">返回</a>
    </div>
    <div id="container">
    	 <form method="POST" action="{if !$htmlsz}index.php?{$Bingz_ml}=user&amp;{$Bingz_md}=sms&amp;act=ok&amp;uid={$uid}{else}user-sms-ok-{$uid}.html{/if}">
            <textarea class="textarea" type="text" name="mm" placeholder="输入聊天内容" ></textarea><br/>
            <input class="submit" type="submit" name="text" value="发送信息" />
       </form>
       <div class="usersms">
       	  <!--{loop $sms $vaa}-->
          <!--{if $vaa[hypd] == '1' }-->
          <div class="forum_con">
          <!--{elseif $vaa[type] == '1' }-->
          <div class="forum_conyx">
          <!--{else}-->
          <div class="forum_cony">
          <!--{/if}-->	
              <dt><a href="{if !$htmlsz}index.php?{$Bingz_ml}=user&amp;uid={$vaa[uid]}{else}user-{$vaa[uid]}.html{/if}"><img src="{$vaa[tx]}" alt="{$namey}" /></a></dt>
              <dd> 
              <hb>{$vaa[content]}</a>
              <div class="y">{$vaa[sj]}</div></hb>
              </dd>
          </div>
          <!--{/loop}-->
          </div>
       </div>
       {$page}
   </div> 
<!--{else}-->
    <div id="header">
    	  <a href="{if !$htmlsz}index.php?{$Bingz_ml}=user{else}user.html{/if}" id="Top1_loginMenu"><img src="{$user_tx}" /></a> 
        <h1>我的信箱</h1>
        <a href="{$url_a}" id="back">返回</a>
    </div>
    <div id="container">
        <div class="listViewIcon1">
            <ul>
            	<!--{if !$sms }--><li>你还没有信息！</li><!--{/if}-->
              <!--{loop $sms $vaa}-->
               <li>
                 <a href="{if !$htmlsz}index.php?{$Bingz_ml}=user&amp;{$Bingz_md}=sms&amp;act=lt&amp;uid={$vaa[uid]}{else}user-sms-lt-{$vaa[uid]}.html{/if}" class="c">
                 	<img src="{$vaa[tx]}" width="62" height="62" /><h3>{$vaa[name]}</h3>
                     <p>未读：<font color="#FF8E44"><b>{$vaa[wd]}</b></font>    条数：<font color="#000000"><b>{$vaa[ts]}</b></font></p>
                     <p>最新：{$vaa[sj]}
                     <i class="fa fa-apple icon"></i></p>                 
                     <i class="iconArrowR">右箭头</i></a>
               </li>
             <!--{/loop}-->
            </ul>
        </div>
        {$page}
    </div>
<!--{/if}-->